<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ShopNC后台管理系统</title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE3 {color: #000000; font-weight: bold; }
-->
</style>
<smart>include file ='sys_head_config.html'</smart>
<script type="text/javascript" src="../classes/resource/FCKeditor/fckeditor.js"></script>
<script>
function send_message(str){
	if(str == '2'){
		$('#span_receive_name').css('display','');
	}else{
		$('#span_receive_name').css('display','none');
	}
}
function send_delete(str){
	if(str == '0'){
		$('#span_send_delete').css('display','');
	}else{
		$('#span_send_delete').css('display','none');
	}
}
</script>
</head>
<body>
<div id="ceng"> <smart>include file ='sys_header.html'</smart>
  <div id="main" style="height:auto">
    <div id="welcome">
      <p>欢迎您进入ShopNC后台管理系统！</p>
　　　　
通过后台管理系统，您可以轻松管理商铺相关、查询信息,ShopNC为您打造方便、快捷的后台管理系统！       </div>
    <em>后台管理系统</em>
    <div id="main-left">
      <div id="product-help" style="background-image:none; height:auto; margin-top:0px;padding:20px">
      <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#cccccc">
	<form action="message.manage.php?action=save_message" method="post">
	<tr bgcolor="#ffffff">
		<td width="22%" height="116" align="center" valign="middle" bgcolor="#DBE6DE"><span class="STYLE3">标题：</span></td>
		<td width="36%" height="116" align="center" valign="middle" bgcolor="#F7FFF7"><input name="title" type="text" size="30" value="<smart> $message_array.title </smart>" /></td>
		<td width="42%" height="116" align="left" valign="middle" bgcolor="#F7FFF7" style="line-height:25px; padding-left:10px">发送对象类型：<br />
	    <smart> $system_message_object </smart><br/>
		<span <smart> if $message_array.send_object neq '2' </smart> style="display:none" <smart> /if </smart> id="span_receive_name">会员名：
		<input name="system_receive_name" type="text" value="<smart> $message_array.system_receive_name </smart>" /><br />多个会员之间用逗号','分隔</span>		</td>
    </tr>
	<tr bgcolor="#ffffff">
		<td height="35" align="center" valign="middle" bgcolor="#DBE6DE"><span class="STYLE3">内容：</span></td>
		<td height="30" colspan="2" align="center" valign="middle" bgcolor="#F7FFF7">
		<script type="text/javascript">
		    var oFCKeditor = new FCKeditor('content');
			oFCKeditor.BasePath = "../classes/resource/FCKeditor/"; 
			oFCKeditor.Height = 300;
			oFCKeditor.Width = '80%';
			oFCKeditor.ToolbarSet = 'Shop';
			oFCKeditor.Config['ImageUpload'] = 'false';
			oFCKeditor.Config['ImageBrowser'] = 'false';
			oFCKeditor.Config['LinkBrowser'] = 'false';
			oFCKeditor.Config['LinkUpload'] = 'false';
			oFCKeditor.Value = '<smart> $message_array.content </smart>';
			oFCKeditor.Create();
		  </script>
		<!--<textarea name="content" cols="60" rows="5"></textarea>--></td>
	  </tr>
	  <tr bgcolor="#ffffff">
		<td height="35" align="center" valign="middle" bgcolor="#DBE6DE"><span class="STYLE3">是否允许删除：</span></td>
		<td height="30" colspan="2" align="center" valign="middle" bgcolor="#F7FFF7"><smart> $system_message_delete </smart></td>
	  </tr>
	  <tr bgcolor="#ffffff" id="span_send_delete" style="display:none">
		<td height="35" align="center" valign="middle" bgcolor="#DBE6DE"><span class="STYLE3">有效时间截止日期：</span></td>
		<td height="30" colspan="2" align="center" valign="middle" bgcolor="#F7FFF7"><input name="end_date" type="text" />格式:xxxx-xx-xx</td>
	  </tr>
	  <tr bgcolor="#ffffff">
		<td height="30" colspan="3" bgcolor="#ffffff">
		　
		  <input type="submit" value="提交" />　
		  <input type="button" value="返回" onclick="history.back();" />		</td>
	  </tr>
	</form>
</table>
      </div>
    </div>
    	<smart>include file ='sys_right_help.html'</smart>
    <div style="clear:both"></div>
  </div>
<smart>include file ='sys_footer.html'</smart>
</div>
</body>
</html>
